package com.bjtech.dao.ibatis;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.ssi.dao.impl.BaseDaoSqlMapImpl;

import com.bjtech.dao.AssignDataFileDao;
import com.bjtech.domain.AssignDataFile;

/**
 * @author wf
 *
 */
@Repository(value="assignDataFileDao")
public class SqlMapAssignDataFileDao extends BaseDaoSqlMapImpl<AssignDataFile> implements
		AssignDataFileDao {

	public List selectMeterDataListByFileId(Long fileId) {
		return super.getSqlMapClientTemplate().queryForList("selectMeterDataListByFileId",fileId);
	}

	public Integer selectDataFileByName(String name) {
		return (Integer) super.getSqlMapClientTemplate().queryForObject("selectDataFileByName", name);
	}

}
